<template>
  <el-container id='app' class="container">
    <el-header height="90px">
      <Header/>
    </el-header>
    <el-main>
      <div class="layout">
        <router-view/>
      </div>
      <Footer></Footer>
      <el-backtop target=".el-main" :bottom="backBottom">
        <img src="./assets/img/goTop.png" alt="">
      </el-backtop>
    </el-main>
  </el-container>
</template>


<style lang="less">


.container {
  height: 100%;
}

.layout {

  min-height: calc(100vh - 90px - 40px);
}

</style>
<script>
import Header from "./components/Header";
import Footer from "./components/Footer";

export default {

  data() {
    return {
      isRouterAlive: true
    }
  },
  methods: {},
  components: {
    Footer,
    Header
  },

}
</script>
